<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>flex-direction应用</title>
		<style type="text/css">
			#box{
				width: 300px;
				height: 200px;
				border: 3px solid red;
				display: flex;
				flex-direction: row-reverse;  /*设置项目在文档中纵向排列，顺序为倒叙*/
			}
			#box div{
				width: 80px;
				height: 50px;
				border: 1px solid blue;
			}
		</style>
	</head>
	<body>
		<div id="box">
			<div>1</div>
			<div>2</div>
			<div>3</div>
		</div>
	</body>
</html>
